package jp.co.piratealliance.pirateAllianceWeb.service.com;

import java.util.List;

import jp.co.piratealliance.pirateAllianceWeb.dto.com.CountryInfoDto;
import jp.co.piratealliance.pirateAllianceWeb.dto.com.UserInfoDto;
import jp.co.piratealliance.pirateAllianceWeb.dto.com.UserLanguageInfoDto;


/**
*
* copyright   pirate alliance team 2014
* @author     lunxing
*
*/
public interface UserService {

	UserInfoDto getUserInfo(String email, String password);

	UserInfoDto userRegister(UserInfoDto userInfoDto, UserLanguageInfoDto userLanguageInfo);

	UserInfoDto getServiceUserInfo(String user_id);

	int updateUserInfo(UserInfoDto userInfo, UserLanguageInfoDto userLanguageInfo);

	List<UserInfoDto> getUserListInfo(String user_id);

	boolean checkEmailMult(String email);

	CountryInfoDto getServiceCountryInfo(String country_id);

	UserLanguageInfoDto selectUserLanguageByUserIdAndLanguageId(String user_id, String language_id);

	int insertUserLanguage(UserLanguageInfoDto userLanguageInfoDto);

	int updateUserLanguage(UserLanguageInfoDto userLanguageInfoDto);
}
